import { createStore } from 'vuex'
import storage from "../utils/index.js";
 import  mutations  from "./mutations.js";

export default createStore({
  state: {
        
    userInfo:storage.getSession('userInfo')||{},
    actionList:storage.getSession('actionList')||[],
    menuList:storage.getSession('menuList')||[],
  },
  mutations,
  
  
  getters: {
    routerType:(state)=>state.routerType
  },
  modules: {
   
  }
})
